﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace F3.Maps.OsmParser
{
    class HighwayNode : NodeBase
    {

        public HighwayNode(XElement highway) : base(highway)
        {
            this.Name = GetTag("name");
            this.HighwayType = GetTag("highway");
            this.Oneway = GetTag("oneway");            
            this.MaxSpeed = GetTag("maxspeed");
        }

        public string Name { get; private set; }
        public string Oneway { get; private set; }
        public string HighwayType { get; private set; }
        public string MaxSpeed { get; private set; }        
        
        
    }
}
